package com.ml.ws.model;

import java.math.BigDecimal;
/**
 * k线缓存实体
 * @author Mr.D
 * @Date 2020年6月29日
 */
public class PeriodLastKline {
    
    private Long time;
    private String symbol;
    private String period;
    private BigDecimal high;
    private BigDecimal last;
    private BigDecimal low;
    private BigDecimal open;
    private Long startTime;
    private Long endTime;
    private BigDecimal vol;
    
	public Long getTime() {
		return time;
	}
	public void setTime(Long time) {
		this.time = time;
	}
	public String getSymbol() {
		return symbol;
	}
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}
	public String getPeriod() {
		return period;
	}
	public void setPeriod(String period) {
		this.period = period;
	}
	public BigDecimal getHigh() {
		return high;
	}
	public void setHigh(BigDecimal high) {
		this.high = high;
	}
	public BigDecimal getLast() {
		return last;
	}
	public void setLast(BigDecimal last) {
		this.last = last;
	}
	public BigDecimal getLow() {
		return low;
	}
	public void setLow(BigDecimal low) {
		this.low = low;
	}
	public BigDecimal getOpen() {
		return open;
	}
	public void setOpen(BigDecimal open) {
		this.open = open;
	}
	public Long getStartTime() {
		return startTime;
	}
	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}
	public Long getEndTime() {
		return endTime;
	}
	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}
	public BigDecimal getVol() {
		return vol;
	}
	public void setVol(BigDecimal vol) {
		this.vol = vol;
	}
	@Override
	public String toString() {
		return "PeriodLastKline [time=" + time + ", symbol=" + symbol + ", period=" + period
				+ ", high=" + high + ", last=" + last + ", low=" + low + ", open=" + open + ", startTime=" + startTime
				+ ", endTime=" + endTime + ", vol=" + vol + "]";
	}
	
    
    
}
